#ifndef STARTGAMESCENE_H
#define STARTGAMESCENE_H

#include <QIcon>
#include <QDebug>
#include <QPixmap>
#include <QPainter>
#include <QWidget>

#include "constant.h"
#include "slide-button.h"

namespace Ui {
class StartGameScene;
}

class StartGameScene : public QWidget
{
    Q_OBJECT

public:
    explicit StartGameScene(QWidget *parent = nullptr);
    ~StartGameScene();

private:
    Ui::StartGameScene *ui;

public:
    SlideButton *start_button;

private:
    // 重写绘画事件
    void paintEvent(QPaintEvent *) override;

private:
    // 项目UI初始化
    void initUi();

    // 项目UI数据初始化
    void initUiData();

    // 项目数据初始化
    void initData();

    // 项目事件连接初始化
    void initConnect();
};

#endif // STARTGAMESCENE_H
